package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 设备网关实体类
 *
 * @author Administrator
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "`tbl_device`")
public class DeviceAndGatewayDO {

    @TableField(value = "`id`")
    private String id;
    /**
     * 家庭ID
     */
    @TableField(value = "`home_id`")
    private String homeId;


    /**
     * ZigBee设备所属网关MAC
     */

    @TableField(value = "`gateway_mac`")
    private String gatewayMac;

    /**
     * ZigBee设备模块mac地址
     */
    @TableField(value = "`zigbee_mac`")
    private String zigbeeMac;

    @TableField(value = "`od_index`")
    private String odIndex;

    @TableField(value = "`device_type`")
    private String deviceType;

    @TableField(value = "`product_type`")
    private String productType;
}
